package com.bigdata.dao;

import com.bigdata.common.base.BaseDao;
import com.bigdata.model.Role;

import java.util.List;

public interface RoleMapper extends BaseDao<Role, Long> {
    int deleteByPrimaryKey(Integer roleId);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);


    public List<Role> seletUserRole(String userId);
}